using Bingo.API.Resources;
using CatLib;

namespace Bingo
{
    /// <summary>
    /// 资源加载提供者
    /// </summary>
    public sealed class ProviderResources : ServiceProvider
    {
        /// <summary>
        /// 初始化资源服务
        /// </summary>
        public override void Init()
        {
            
        }

        /// <summary>
        /// 注册资源服务
        /// </summary>
        public override void Register()
        {
            App.Singleton<IResources, ResourcesSystem>();
        }
    }
}

